package ModelLayer;

public class Product {
    
    //instance variables 
    private int productID;
    private String pName;
    private double purchasePrice;
    private double salesPrice;
    private double rentPrice;
    private String countryOfOrigin;
    private int minStock;
    private String cvr;
    private int curStock;
    public Product() {
        
    }
    public Product(int productID){
        this.productID = productID;
    }
    public Product(int productID, String pName, double purchasePrice, double salesPrice, double rentPrice, String countryOfOrigin, int minStock, String cvr, int curStock)
    {
        this.productID = productID;
        this.pName = pName;
        this.purchasePrice = purchasePrice;
        this.salesPrice = salesPrice;
        this.rentPrice = rentPrice;
        this.countryOfOrigin = countryOfOrigin;
        this.minStock = minStock;
        this.cvr = cvr;
        this.curStock = curStock;
    }
    //set methods
    public void setProductID(int productID)
    {
        this.productID = productID;
    }
    public void setPName (String pName){
        this.pName = pName;
    }
    public void setPurchasePrice (double purchasePrice){
    	this.purchasePrice = purchasePrice;
    }
    public void setSalesPrice (double salesPrice)
    {
    	this.salesPrice = salesPrice;
    }
    public void setRentPrice (double rentPrice)
    {
    	this.rentPrice = rentPrice;
    }
    public void setCountryOfOrigin (String countryOfOrigin)
    {
    	this.countryOfOrigin = countryOfOrigin;
    }
    public void setMinStock (int minStock)
    {
    	this.minStock = minStock;
    }
    public void setCvr (String cvr)
    {
    	this.cvr = cvr;
    }
    public void setCurStock (int curStock)
    {
    	this.curStock = curStock;
    }
    //get method
    public int getProductID()
    {
        return productID;
    }
    public String getPName()
    {
        return pName;
    }
    public double getPurchasePrice()
    {
    	return purchasePrice;
    }
    public double getSalesPrice()
    {
    	return salesPrice;
    }
    public double getRentPrice()
    {
    	return rentPrice;
    }
    public String getCountryOfOrigin()
    {
    	return countryOfOrigin;
    }
    public int getMinStock()
    {
    	return minStock;
    }
    public String getCvr()
    {
    	return cvr;
    }
    public int getCurStock()
    {
    	return curStock;
    }
}